import request from '@/utils/request'

// 查询熵豆交易单接取记录列表
export function listMallMarketReceiveShangdou(query) {
  return request({
    url: '/mall/mallMarketReceiveShangdou/list',
    method: 'get',
    params: query
  })
}

// 查询熵豆交易单接取记录详细
export function getMallMarketReceiveShangdou(id) {
  return request({
    url: '/mall/mallMarketReceiveShangdou/' + id,
    method: 'get'
  })
}

// 新增熵豆交易单接取记录
export function addMallMarketReceiveShangdou(data) {
  return request({
    url: '/mall/mallMarketReceiveShangdou',
    method: 'post',
    data: data
  })
}

// 修改熵豆交易单接取记录
export function updateMallMarketReceiveShangdou(data) {
  return request({
    url: '/mall/mallMarketReceiveShangdou',
    method: 'put',
    data: data
  })
}

// 删除熵豆交易单接取记录
export function delMallMarketReceiveShangdou(id) {
  return request({
    url: '/mall/mallMarketReceiveShangdou/' + id,
    method: 'delete'
  })
}


// 查询熵豆交易单接取记录列表
export function transfer(query) {
  return request({
    url: '/mall/mallMarketReceiveShangdou/transfer',
    method: 'get',
    params: query
  })
}